cask "switchkey" do
  version "1.2"
  sha256 "4ef2021c14484890d88ea65f19461ccdf7a21effe37af5e56b914483eef8d4eb"

  url "https://gitee.com/hevey88/SwitchKey/releases/download/v#{version}/SwitchKey.zip"
  name "SwitchKey"
  homepage "https://github.com/itsuhane/SwitchKey"

  app "SwitchKey.app"

  zap trash: "~/Library/Preferences/itsuhane.tools.SwitchKey.plist"
end
